﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class mdc_Bom_Fini_2 : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } }
        private string _ID;
        public static FieldInfo id = new FieldInfo("mdc_Bom_Fini_2", "ID");

        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } }
        private string _Process;
        public static FieldInfo process = new FieldInfo("mdc_Bom_Fini_2", "Process");

        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } }
        private int _Incident;
        public static FieldInfo incident = new FieldInfo("mdc_Bom_Fini_2", "Incident");

        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } }
        private string _UserName;
        public static FieldInfo userName = new FieldInfo("mdc_Bom_Fini_2", "UserName");

        [Column]
        public int No { get { return _No; } set { _No = value; EntityState.FieldChange("No"); } }
        private int _No;
        public static FieldInfo no = new FieldInfo("mdc_Bom_Fini_2", "No");

        [Column]
        public string SKU { get { return _SKU; } set { _SKU = value; EntityState.FieldChange("SKU"); } }
        private string _SKU;
        public static FieldInfo sku = new FieldInfo("mdc_Bom_Fini_2", "SKU");

        [Column]
        public string SKU_Q { get { return _SKU_Q; } set { _SKU_Q = value; EntityState.FieldChange("SKU_Q"); } }
        private string _SKU_Q;
        public static FieldInfo sku_q = new FieldInfo("mdc_Bom_Fini_2", "SKU_Q");

        [Column]
        public string SEFI_Code { get { return _SEFI_Code; } set { _SEFI_Code = value; EntityState.FieldChange("SEFI_Code"); } }
        private string _SEFI_Code;
        public static FieldInfo sefi_code = new FieldInfo("mdc_Bom_Fini_2", "SEFI_Code");

        [Column]
        public string SEFI_Code_Q { get { return _SEFI_Code_Q; } set { _SEFI_Code_Q = value; EntityState.FieldChange("SEFI_Code_Q"); } }
        private string _SEFI_Code_Q;
        public static FieldInfo sefi_code_q = new FieldInfo("mdc_Bom_Fini_2", "SEFI_Code_Q");

        [Column]
        public string Packager { get { return _Packager; } set { _Packager = value; EntityState.FieldChange("Packager"); } }
        private string _Packager;
        public static FieldInfo packager = new FieldInfo("mdc_Bom_Fini_2", "Packager");

        [Column]
        public string Packager_Q { get { return _Packager_Q; } set { _Packager_Q = value; EntityState.FieldChange("Packager_Q"); } }
        private string _Packager_Q;
        public static FieldInfo packager_q = new FieldInfo("mdc_Bom_Fini_2", "Packager_Q");

        [Column]
        public string Carton { get { return _Carton; } set { _Carton = value; EntityState.FieldChange("Carton"); } }
        private string _Carton;
        public static FieldInfo carton = new FieldInfo("mdc_Bom_Fini_2", "Carton");

        [Column]
        public string Carton_Q { get { return _Carton_Q; } set { _Carton_Q = value; EntityState.FieldChange("Carton_Q"); } }
        private string _Carton_Q;
        public static FieldInfo carton_q = new FieldInfo("mdc_Bom_Fini_2", "Carton_Q");

        [Column]
        public string Carton_Cover { get { return _Carton_Cover; } set { _Carton_Cover = value; EntityState.FieldChange("Carton_Cover"); } }
        private string _Carton_Cover;
        public static FieldInfo carton_cover = new FieldInfo("mdc_Bom_Fini_2", "Carton_Cover");

        [Column]
        public string Carton_Cover_Q { get { return _Carton_Cover_Q; } set { _Carton_Cover_Q = value; EntityState.FieldChange("Carton_Cover_Q"); } }
        private string _Carton_Cover_Q;
        public static FieldInfo carton_cover_q = new FieldInfo("mdc_Bom_Fini_2", "Carton_Cover_Q");

        [Column]
        public string Tagboard { get { return _Tagboard; } set { _Tagboard = value; EntityState.FieldChange("Tagboard"); } }
        private string _Tagboard;
        public static FieldInfo tagboard = new FieldInfo("mdc_Bom_Fini_2", "Tagboard");

        [Column]
        public string Tagboard_Q { get { return _Tagboard_Q; } set { _Tagboard_Q = value; EntityState.FieldChange("Tagboard_Q"); } }
        private string _Tagboard_Q;
        public static FieldInfo tagboard_q = new FieldInfo("mdc_Bom_Fini_2", "Tagboard_Q");

        [Column]
        public string Tagboard_2 { get { return _Tagboard_2; } set { _Tagboard_2 = value; EntityState.FieldChange("Tagboard_2"); } }
        private string _Tagboard_2;
        public static FieldInfo tagboard_2 = new FieldInfo("mdc_Bom_Fini_2", "Tagboard_2");

        [Column]
        public string Tagboard_2_Q { get { return _Tagboard_2_Q; } set { _Tagboard_2_Q = value; EntityState.FieldChange("Tagboard_2_Q"); } }
        private string _Tagboard_2_Q;
        public static FieldInfo tagboard_2_q = new FieldInfo("mdc_Bom_Fini_2", "Tagboard_2_Q");

        [Column]
        public string Carbon_Tape { get { return _Carbon_Tape; } set { _Carbon_Tape = value; EntityState.FieldChange("Carbon_Tape"); } }
        private string _Carbon_Tape;
        public static FieldInfo carbon_tape = new FieldInfo("mdc_Bom_Fini_2", "Carbon_Tape");

        [Column]
        public string Carbon_Tape_Q { get { return _Carbon_Tape_Q; } set { _Carbon_Tape_Q = value; EntityState.FieldChange("Carbon_Tape_Q"); } }
        private string _Carbon_Tape_Q;
        public static FieldInfo carbon_tape_q = new FieldInfo("mdc_Bom_Fini_2", "Carbon_Tape_Q");

        [Column]
        public string Cardfile { get { return _Cardfile; } set { _Cardfile = value; EntityState.FieldChange("Cardfile"); } }
        private string _Cardfile;
        public static FieldInfo cardfile = new FieldInfo("mdc_Bom_Fini_2", "Cardfile");

        [Column]
        public string Cardfile_Q { get { return _Cardfile_Q; } set { _Cardfile_Q = value; EntityState.FieldChange("Cardfile_Q"); } }
        private string _Cardfile_Q;
        public static FieldInfo cardfile_q = new FieldInfo("mdc_Bom_Fini_2", "Cardfile_Q");

        [Column]
        public string SealTape { get { return _SealTape; } set { _SealTape = value; EntityState.FieldChange("SealTape"); } }
        private string _SealTape;
        public static FieldInfo sealTape = new FieldInfo("mdc_Bom_Fini_2", "SealTape");

        [Column]
        public string SealTape_Q { get { return _SealTape_Q; } set { _SealTape_Q = value; EntityState.FieldChange("SealTape_Q"); } }
        private string _SealTape_Q;
        public static FieldInfo sealTape_q = new FieldInfo("mdc_Bom_Fini_2", "SealTape_Q");

        [Column]
        public string Membrane { get { return _Membrane; } set { _Membrane = value; EntityState.FieldChange("Membrane"); } }
        private string _Membrane;
        public static FieldInfo membrane = new FieldInfo("mdc_Bom_Fini_2", "Membrane");

        [Column]
        public string Membrane_Q { get { return _Membrane_Q; } set { _Membrane_Q = value; EntityState.FieldChange("Membrane_Q"); } }
        private string _Membrane_Q;
        public static FieldInfo membrane_q = new FieldInfo("mdc_Bom_Fini_2", "Membrane_Q");

        [Column]
        public string PaperTray { get { return _PaperTray; } set { _PaperTray = value; EntityState.FieldChange("PaperTray"); } }
        private string _PaperTray;
        public static FieldInfo paperTray = new FieldInfo("mdc_Bom_Fini_2", "PaperTray");

        [Column]
        public string PaperTray_Q { get { return _PaperTray_Q; } set { _PaperTray_Q = value; EntityState.FieldChange("PaperTray_Q"); } }
        private string _PaperTray_Q;
        public static FieldInfo paperTray_q = new FieldInfo("mdc_Bom_Fini_2", "PaperTray_Q");

        [Column]
        public string Ftype { get { return _Ftype; } set { _Ftype = value; EntityState.FieldChange("Ftype"); } }
        private string _Ftype;
        public static FieldInfo ftype = new FieldInfo("mdc_Bom_Fini_2", "Ftype");

        [Column]
        public string ValidTo { get { return _ValidTo; } set { _ValidTo = value; EntityState.FieldChange("ValidTo"); } }
        private string _ValidTo;
        public static FieldInfo validTo = new FieldInfo("mdc_Bom_Fini_2", "ValidTo");

        [Column]
        public string Plant { get { return _Plant; } set { _Plant = value; EntityState.FieldChange("Plant"); } }
        private string _Plant;
        public static FieldInfo plant = new FieldInfo("mdc_Bom_Fini_2", "Plant");

        [Column]
        public string Remark { get { return _Remark; } set { _Remark = value; EntityState.FieldChange("Remark"); } }
        private string _Remark;
        public static FieldInfo remark = new FieldInfo("mdc_Bom_Fini_2", "Remark");

        [Column]
        [NowDate]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } }
        private DateTime _Time;
        public static FieldInfo time = new FieldInfo("mdc_Bom_Fini_2", "Time");

        [Column]
        [DefaultInt(0)]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } }
        private int _Status;
        public static FieldInfo status = new FieldInfo("mdc_Bom_Fini_2", "Status");
    }
}
